import 'package:flutter/material.dart';
import 'package:maihealth/utils/router.dart';
class filePage extends StatefulWidget {
  @override
  _filePageState createState() => _filePageState();
}

class _filePageState extends State<filePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('档案'),
      ),
      body: Center(
        child: FlatButton(
          child: Text('调转到远程界面'),
          onPressed: (){
            Router.push(context, UiKitView(viewType: 'test'));
          },
        ),
      )
    );
  }

  @override
  void dispose() {
    // TODO: implement dispose
    super.dispose();
    print('档案销毁');
  }
}